package com.woniu.defecttracking.mapper;

import com.woniu.defecttracking.entity.FeedBack;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Update;
import org.springframework.stereotype.Controller;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author tiangle
 * @since 2021-12-31
 */

public interface FeedBackMapper extends BaseMapper<FeedBack> {

    @Update("update feed_back set is_del=1 where feed_back_id=#{feedBackId}")
    int updateIsDel(Integer feedBackId);
}
